<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="RssEasy.Core.CookieHelper"%>
<%@page import="Model.Supplier.SupplierList"%>
<%@page import="Model.User.UserList"%>
<%
    UserList use = new UserList(pageContext);
    SupplierList sup = new SupplierList(pageContext);
    CookieHelper cookie = new CookieHelper(request, response);
    use.request();
    use.remove("enterpriseurl", "legal", "yong", "pattern", "ratepaying", "organization", "banklogin", "turnover", "volumes", "business");
    use.update().where("myid=?", cookie.Get("myid")).submit();
    sup.request();
    sup.remove("mainbusiness","els", "corpname", "industryid", "shengid", "xianid", "shiid", "linkname", "sex", "posts", "email", "telphone", "zuoji", "weixin", "socialcode", "banknumber", "openbank", "dateestable", "operatingstart", "operatingend", "scope", "corpidcard");
    sup.keyvalue("myid",cookie.Get("myid"));
    if (sup.select("myid").where("myid="+cookie.Get("myid")+"").get_first_rows()) {
        sup.update().where("myid=?", cookie.Get("myid")).submit();
    } else {
        sup.append().submit();
    }

    out.print("1");
%>
